import time

from httprunner import __version__


def get_httprunner_version():
    return __version__


def random_number(start,end) ->str: #  todo：提醒程序员，这个函数的返回值是字符串
    import random
    ran_ = random.randint(start,end)
    return str(ran_)

def get_name() ->str :
    from faker import Faker
    faker1 = Faker(locale='zh_cn')
    return faker1.name()

def get_phone()->int:
    from faker import Faker
    faker1 = Faker(locale='zh_cn')
    return faker1.phone_number()
# print(get_phone())
# print(get_name())
# print(random_number(0,1000))
def get_userName(name: str or list):
    if name=='a':
        return ['admin']
def get_name1():
    return "limit"

